<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>

<html lang="#{localeBean.currentLanguage}"
      xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:f="http://xmlns.jcp.org/jsf/core"
      xmlns:p="http://primefaces.org/ui"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets">

<f:view locale="#{localeBean.currentLanguage}" />

<ui:insert name="metadata" />

<h:head>
    <title>JSF Web App</title>
    <h:outputStylesheet name="css/layout.css" />
    <h:outputStylesheet name="css/styles.css" />
</h:head>

<h:body>
    <div class="main-wrapper">
        <div class="header">
            <h:graphicImage styleClass="logo" name="img/logo.png" />
            <ui:insert name="header" />
        </div>

        <div class="body">
            <ui:insert name="content" />
        </div>

        <div class="footer">
            <ui:insert name="footer">
                #{msg.app_footer}
            </ui:insert>
        </div>
    </div>
</h:body>

</html>